#ifndef OBJECT_H
#define OBJECT_H
#include <QString>

class Entity
{
public:
    int id;
    QString type;
    float p[3]; //koordinatak
    float v[3]; //iranyvektor
    float scale[3];
    unsigned char c[3]; //szin
    int movable;
public:
    Entity();
    Entity(int id, QString type, const float[], const float[], const unsigned char[],const float[],int);
    int getId() const;
    int getMovable() const;
    QString getType() const;
    const float* getPos() const;
    const float* getDir() const;
    const unsigned char* getCol() const;
    const float* getScale() const;
    void setType(QString);
    void setPos(float[]);
    void setDir(float[]);
    void setCol(unsigned char[]);
    void setScale(float[]);
    void setMovable(int);
};

#endif // OBJECT_H
